<?php

return [
    '__pattern__' => [
        'name' => '\w+',
    ],
    //'admin/login/login' => ['admin/login/login', ['method' => 'POST']],
    //'admin/login/index' => ['admin/login/index', ['method' => 'GET']],
    // '__miss__'  => 'api/login/miss',
    'users' => 'api/users/index',
    'userFind' => 'api/users/search',
    'userEdit' => 'api/users/update',
    'photoUpload' => 'api/users/photoUpload',
    'userAdd' => 'api/users/save',
    'userDelete' => 'api/users/delete',
    //'userInfo' => 'api/users/userInfo',
    'addFaceUser' => 'api/users/addFaceUser',
    'updateFaceUser' => 'api/users/updateFaceUser',
    'getPicsInfo' => 'api/users/getPicsInfo',
    'getPicsNum' => 'api/users/getPicsNum',
    'recvSignInfo' => 'api/users/recvSignInfo',
    //zp修改
    'test' => 'api/test/test',

    //二维码扫描的地址下载
    'download_result' => 'api/downfile/download_result',
    'download_speech_or_content' => 'api/downfile/downloadSpeechAndContent',
    'send_email' => 'api/downfile/send_email',

    /**获取授权列表 */
    'equipmentList' => 'api/equipment/listStatus',

    /**热词测试路由 */
    //热词库页面
    'hotWordIndex' => 'api/hotwords/fileIndex',
    //热词列表
    'hotWordList' => 'api/hotwords/fileList',
    //删除热词文件
    'hotWordDel' => 'api/hotwords/fileDelete',
    //热词文件内容查询
    'HotWordArray' => 'api/hotwords/fileDetail',
    //热词生成模型状态修改  ASR回调用
    'hotwordGenerateEdit' => 'api/hotwords/hotwordModelChangeStatus',
    //获取热词生成模型百分比
    'GeneratePercent' => 'api/hotwords/percent',
    //version控制器接口


    //系统信息接口
    'systemIp' => 'api/index/getIp',

    'versionForce' => 'api/version/forceUpdate',

    /**
     * 实时转写文件接口
     */

    /*录音文件详情*/
    'speechDetail' => 'api/speech/detail',

    /*获取文本摘要*/
    'summary' => 'api/speech/abstract',

    //将录音文件转成二进制格式
    'speechWave' => 'api/speech/showwave',
    /*获取未转写完成的非实时结果 */
    'norealResult' => 'api/speech/norealTransferResult',

    // 'audioUpload' => 'api/speech/audioUpload',


    /*重新转写*/
    'retransferSpeech' => 'api/speech/retransfer',
    //角色列表
    'characterList' => 'api/speech/getCharacterList',
    //设置角色(一起修改)
    'setCharacterList' => 'api/speech/modifyCharacterList',
    //设置角色
    'setCharacterSingle' => 'api/speech/modifyCharacterSingle',
    //选择单独角色
    //'getCharacterSingleSpeech' => 'api/speech/selectCharacterSingleSpeech',

    //获取系统文件信息
    'fileCount' => 'api/speech/getFileCount',
    //返回meetingid
    'sceenMeetingId' => 'api/viewlogin/resendMeeting',
    /**
     * 转写文件接口
     */
    'spedetail' => 'api/speech/detail',
    'delList' => 'api/speech/delList',


    /**
     * record-pen api
     */
    'uploadAudioDetail' =>  'api/recorderpen/audioUpload',
    //'speechResult' => 'api/recorderpen/getSpeechResult',
    'createDOCFilePath' => 'api/recorderpen/getDownloadTxtPath',
    'recorderDownloadFIle' => 'api/recorderpen/downloadFile',
    'offTransList' => 'api/recorderpen/offTransList',
    //'sendSuggestions' => 'api/recorderpen/suggestion',
    //'transFileList' => 'api/recorderpen/transFileList',




    //系统服务监控接口

    'version' => 'api/monitor/version',


    //获取最新app
    'downloadPenApp' => 'api/index/downloadPenApp',
    'appOfHeadVersion' => 'api/index/appOfHeadVersion',

    //获取当前敏感词的列表
    'sensitiveList' => 'api/sensitive/index',
    'sensitiveUpload' => 'api/sensitive/upload',
    'sensitiveDownload' => 'api/sensitive/download',
    'sensitiveUpdate' => 'api/sensitive/update',
    'sensitive/file/del' => 'api/sensitive/deleteSensitive',
    'sensitive/file/del/batch' => 'api/sensitive/batchDeleteSensitive',
    'sensitive/file/download' => 'api/sensitive/downloadSensitive',
    'sensitive/file/download/temp' => 'api/sensitive/downloadSensitiveTemplate',
    'sensitive/update/tree' => 'api/sensitive/updateSensitiveTree',

    // 敏感词分类
    'sensitive/category/add' => 'api/sensitiveCategory/createSensitiveCategory',
    'sensitive/category/add/default' => 'api/sensitiveCategory/createDefaultSensitiveCategory',
    'sensitive/category/get' => 'api/sensitiveCategory/selectSensitiveCategory',

    // 敏感词
    'sensitive/add' => 'api/sensitiveWord/createSensitiveWord',
    'sensitive/add/batch' => 'api/sensitiveWord/batchCreateSensitiveWord',
    'sensitive/get' => 'api/sensitiveWord/selectSensitiveWord',
    'sensitive/word/del' => 'api/sensitiveWord/deleteSensitiveWord',
    'sensitive/word/del/batch' => 'api/sensitiveWord/batchDeleteSensitiveWord',
    'sensitive/upd' => 'api/sensitiveWord/updateSensitiveWords',

    /* web端接口 */
    //用户相关接口
    'login' => 'api/login/login', //登录
    'logout' => 'api/login/logout', //登出
    'getVerify' => 'api/login/getVerify',  //获取二维码

    'checkSN' => 'api/index/checkSN',   //用户sn码登录（录音笔的sn码）
    'registerSN' => 'api/index/registerSN',     //用户用sn码注册（录音笔的sn码）

    'userinfo' => 'api/users/info',     //用户详情信息
    'changePassword' => 'api/users/changePassword', //用户密码修改
    'userInDepartList' => 'api/users/list',         //带分页模糊搜索的用户列表
    'userArrayList' => 'api/users/listArray',       //某一组的用户列表
    'userCreate' => 'api/users/add',        //用户添加
    'userUpdate' => 'api/users/updates',    //用户更新
    'statusChange' => 'api/users/statusChange', //修改用户冻结状态
    'changeWhiteName' => 'api/users/whiteName', //用户添加白名单

    //系统配置
    'getWebConfig' => 'api/index/getWebConfig',     //web端获取系统配置
    'systemDetail' => 'api/index/systemDetail',     //当前web服务器状态

    //设备相关接口  
    'equList' => 'api/equipment/list',  //获取设备列表
    'equipmentEditStatus' => 'api/equipment/updateStatus',  //修改授权状态


    //群组相关接口
    'dptAdd' => 'api/department/create',    //新增群组
    'dptList' => 'api/department/list',     //群组列表
    'dptEdit' => 'api/department/edit',     //编辑群组
    'dptDel' => 'api/department/delete',    //删除群组
    'dptDetail' => 'api/department/detail',     //群组详情

    //角色相关接口
    'groupList' => 'api/group/groupList',   //角色列表
    'groupOne' => 'api/group/groupOne',     //角色详情
    'groupEdit' => 'api/group/groupEdit',   //编辑角色
    'groupAdd' => 'api/group/groupAdd',     //添加角色
    'groupDel' => 'api/group/groupDel',     //删除角色

    //权限相关接口
    'ruleList' => 'api/rule/lists',     //权限列表
    'ruleAdd' => 'api/rule/create',     //添加权限
    'ruleDel' => 'api/rule/delete',     //删除权限
    'ruleEdit' => 'api/rule/edit',      //编辑权限

    //升级管理相关接口
    'versionList' => 'api/version/getList',     //软件包列表
    'versionLatestData' => 'api/version/getLatestDate',     //最新软件包列表
    'versionUpload' => 'api/version/uploadVersionPackage',  //上传软件包
    'versionUpdate' => 'api/version/editVersion',       //更新软件包
    'versionDel' => 'api/version/delPackage',       //删除软件包
    
    //录音笔固件相关接口
    'firmware/index' => 'api/firmware/index',       //固件列表
    'firmware/store' => 'api/firmware/store',       //新增固件
    'firmware/update' => 'api/firmware/update',     //更新固件
    'firmware/check' => 'api/firmware/check',       //检查固件  手机端调用
    'firmware/download' => 'api/firmware/download', //固件下载  手机端调用

    //场景接口
    'scenes/index' => 'api/scene/index',        //场景列表
    'scenes/store' => 'api/scene/store',        //添加场景
    'scenes/update' => 'api/scene/update',      //更新场景
    'scenes/show' => 'api/scene/show',          //场景热词详情

    //热词接口
    'uploadHotWordFile' => 'api/hotwords/fileCreate',   //上传热词表文件
    'hotWordArrayAdd' => 'api/hotwords/addWords',       //文件中的热词添加
    'hotWordArrayEdit' => 'api/hotwords/editWords',     //文件中的热词编辑
    'hotWordDownload' => 'api/hotwords/fileDownload',   //热词文件下载
    'hotWordModel' => 'api/hotwords/templateDownload',  //模板下载
    'transferHotWord' => 'api/hotwords/modelOn',        //启用选中热词

    //日志接口
    'logList' => 'api/log/list',            //日志列表
    'logDetail' => 'api/log/detail',        //日志详情
    'logDownload' => 'api/log/download',    //日志导出

    //服务监控接口
    'monitor' => 'api/monitor/index',       //服务监控列表

    //文件相关接口
    'speechFileList' => 'api/speech/list',      //文件列表
    'fileToRecycled' => 'api/speech/delete',    //删除文件到回收站
    'batchDelete' => 'api/speech/batchDelete',  //文件批量删除到回收站
    'recycledList' => 'api/speech/delList',     //回收站文件列表
    'recycledRestore' => 'api/speech/restore',  //还原回收站中的文件
    'recycledDel' => 'api/speech/recycledDel',  //删除回收站的文件
    'batchRecycledDel' => 'api/speech/batchRecycledDel',    //批量删除回收站的文件
    'editCommit' => 'api/speech/editCommit',    //备注编辑
    
    'piecewiseDetail' => 'api/speech/detailPiecewise',      //获取文件详情
    'speechData' => 'api/speech/operat',        //不同形态的转写结果（原始文档、语气词、去敏感词）
    'speechEdit' => 'api/speech/contentEdit',   //编辑转写文件
    'downloadTxt' => 'api/speech/getDownloadTxtPath',   //生成word下载地址
    'downloadFile' => 'api/speech/downloadFile',    //下载word文件
    'downloadResult' => 'api/speech/download',      //下载map3文件

    'separate' => 'api/speech/separateShow',         //获取角色分离详情
    'roleTrigger' => 'api/speech/startRoleSeparate',    //开始说话人分离

    //非实时文件转写相关接口
    'burstUpload' => 'api/index/burstUpload',       //上传分片文件，并合并
    'audioUpload' => 'api/index/audioUpload',       //创建上传文件在数据库创建条目  web用
    'initTrigger' => 'api/index/transferTragger',   //触发开始转写，更新待转写状态

    /* 移动端接口 */
    'checkStatus' => 'api/front/checkStatusByMac',  //检查设备授权状态
    'checkLogin' => 'api/front/typeLogin',          //客户端登录
    'getLatestVersion' => 'api/front/updateVersion',//检查app最新版本
    'downloadVersionFile' => 'api/front/downloadVersionFile',   //下载app的apk文件
    'transferStart' => 'api/front/transferStart',   //开始转写
    'transferEnd' => 'api/front/transferEnd',       //结束转写
    'speechResult' => 'api/front/getSpeechResult',  //文件非实时转写结果
    'transFileList' => 'api/recorderpen/transFileList',         //文件列表状态
    'detailInfo' => 'api/front/updateUser',         //录音笔sn码注册新用户
    'front/changePassword' => 'api/front/changePassword',       //修改密码
    'front/changeUserInfo' => 'api/front/updateUserInfo',       //修改用户信息
    'front/updateFileInfo' => 'api/front/updateFileInfo',       //修改文件信息
    'sendSuggestions' => 'api/front/suggestion',          //发送反馈接口
    'checkVersionById' => 'api/front/updateVersion',        //启动app检查版本
    'deviceNameUpdate' => 'api/front/deviceNameUpdate',     //修改设备名字
    'audioList' =>  'api/front/list',                   //获取指定盒子用户全部文件列表
    'speech_detail' => 'api/front/downZipFile',         //扫码下载
    'checkServerState' => 'api/front/checkServerState', //判断服务器硬盘是否到达阈值
    'noneRealTimeResult' => 'api/front/NoneRealTimeResult', //盒子端获取非实时转写结果


    'getServerConfig' => 'api/index/getServerConfig',   //获取服务器配置
    'createAudio' => 'api/index/createAudio',           //创建非实时文件条目

    /* 校正端接口 */
    'sceenLogin' => 'api/viewlogin/login',          //登录账号密码
    'sceenLoginOut' => 'api/viewlogin/logout',      //登出
    'sceenVerify' => 'api/viewlogin/getVerify',     //验证码
    'sceenInfo' => 'api/viewlogin/info',            //用户信息
    'Authorization' => 'api/viewlogin/Authorization',   //校正端检查mac授权
    //管理平台sso跳转校正端接口
    'sceenSSOLogin' => 'api/viewlogin/gotoWeb',
    "sceenSpeechPiece" => "api/viewlogin/getSpeechPiece",

    //aws
    '/aws/svrInfo' => 'api/aws/serverInfo',
    '/aws/userInfo' => 'api/aws/userInfo',
    '/aws/messages' => 'api/aws/messages',


    // recordpen

    // token
    '/recordpen/token/verify' => 'token/token/verifyRecordpenToken',

    // transfer
    '/transfer/separate/start' => 'transfer/speech/startSeparate',
    '/transfer/separate/get' => 'transfer/speech/getSeparate',

    // Tag - 重点标注
    '/recordpen/file/tag/create' => 'recordpen/fileTag/createFileTag',
    '/recordpen/file/tag/get' => 'recordpen/fileTag/getFileTag',
    '/recordpen/file/tag/add' => 'recordpen/fileTag/addFileTag',
    '/recordpen/file/tag/delete' => 'recordpen/fileTag/deleteFileTag',
];
